<%@ Page Language="C#" MasterPageFile="~/ZooMaster.master" AutoEventWireup="true"
    CodeFile="Register.aspx.cs" Inherits="Register" Title="Untitled Page" %>

<%@ Register Src="UserControls/LocalizationControl.ascx" TagName="LocalizationControl"
    TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table>
        <tr>
            <td>
                <asp:Label ID="LblErrorMessage" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="LblGender" runat="server" Text='<%# Dico["LblGender"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:RadioButtonList ID="RblGender" runat="server" RepeatDirection="Horizontal">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblSeeking" runat="server" Text='<%# Dico["LblSeeking"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:RadioButtonList ID="RblSeeking" runat="server" RepeatDirection="Horizontal">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblNickName" runat="server" Text='<%# Dico["LblNickName"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:TextBox ID="TxtNickName" runat="server" MaxLength="50"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RfvNickName" runat="server" ControlToValidate="TxtNickName">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblEmailAddress" runat="server" Text='<%# Dico["LblEmailAddress"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:TextBox ID="TxtEmailAddress" runat="server" MaxLength="150" Width="200px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RfvEmailAddress" runat="server" ControlToValidate="TxtEmailAddress">*</asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RevEmailAddress" runat="server" ControlToValidate="TxtEmailAddress"
                                ErrorMessage='<%# Dico["RevEmailAddress"] %>' ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblLanguage" runat="server" Text='<%# Dico["LblLanguage"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:RadioButtonList ID="RblLanguage" runat="server" RepeatDirection="Horizontal">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblBornDate" runat="server" Text='<%# Dico["LblBornDate"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:DropDownList ID="DdlBornDateDay" runat="server">
                            </asp:DropDownList>/
                            <asp:DropDownList ID="DdlBornDateMonth" runat="server">
                            </asp:DropDownList>/
                            <asp:DropDownList ID="DdlBornDateYear" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <uc1:LocalizationControl ID="LocalizationControl1" runat="server" />
                    <tr>
                        <td>
                            <asp:Label ID="LblCity" runat="server" Text='<%# Dico["LblCity"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:TextBox ID="TxtCity" runat="server" MaxLength="50"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RfvCity" runat="server" ControlToValidate="TxtCity"
                                ErrorMessage='<%# Dico["RfvCity"] %>'>*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LbpPicture" runat="server" Text='<%# Dico["LblPicture"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:FileUpload ID="FupPicture" runat="server" /></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LblPassword" runat="server" Text='<%# Dico["LblPassword"] %>'></asp:Label>
                        </td>
                        <td style="width: 600px">
                            <asp:TextBox ID="TxtPassword" runat="server" MaxLength="50"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RfvPassword" runat="server" ControlToValidate="TxtPassword"
                                ErrorMessage='<%# Dico["RfvPassword"] %>'>*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="LblDescription" runat="server" Text='<%# Dico["LblDescription"] %>'></asp:Label>
                            <asp:RequiredFieldValidator ID="RfvDescription" runat="server" ControlToValidate="TxtDescription"
                                ErrorMessage='<%# Dico["RfvDescription"] %>'>*</asp:RequiredFieldValidator><br />
                            <asp:TextBox ID="TxtDescription" runat="server" Height="100px" TextMode="MultiLine"
                                Width="711px" MaxLength="1500"></asp:TextBox>&nbsp;
                        </td>
                    </tr>
                   <tr>
                    <td>
                        <asp:CheckBox ID="ChbEmailOptin" runat="server" Text='<%# Dico["ChbEmailOptin"] %>' /></td>
                   </tr> 
                    <tr>
                        <td>
                            <asp:Button ID="BtnSubscribe" runat="server" Text='<%# Dico["BtnSubscribe"]%>' OnClick="BtnSubscribe_Click" /></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
